package com.tianya.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @program: cloud2020
 * @description
 * @author: tianya
 * @create: 2020-06-18 22:28
 **/
@Component
public class PaymentFallbackServiceImpl implements PaymentHystrixService
{
    @Override
    public String paymentInfoOk(Integer id) {
        return "---- PaymentFallbackService is fall back ---- !!!----- method is paymentInfoOk";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "---- PaymentFallbackService is fall back ---- !!!----- method is paymentInfoTimeout";
    }
}
